home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / u_man / cat1 / wait.z / wait
Encoding:
Text File  |  2002-10-03  |  1.7 KB  |  67 lines

  1.  
  2.  
  3.  
  4. WWWWAAAAIIIITTTT((((1111))))                                                                WWWWAAAAIIIITTTT((((1111))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      wait - await completion of process
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      wwwwaaaaiiiitttt [ _n ]
  13.  
  14. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  15.      Wait for your background process whose process id is _n and report its
  16.      termination status.  If _n is omitted, all your shell's currently active
  17.      background processes are waited for and the return code will be zero.
  18.  
  19.      The shell itself executes _w_a_i_t, without creating a new process.
  20.  
  21. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  22.      sh(1).
  23.  
  24. CCCCAAAAVVVVEEEEAAAATTTT
  25.      If you get the error message _c_a_n_n_o_t _f_o_r_k, _t_o_o _m_a_n_y _p_r_o_c_e_s_s_e_s, try using
  26.      the _w_a_i_t(1) command to clean up your background processes.  If this
  27.      doesn't help, the system process table is probably full or you have too
  28.      many active foreground processes.  (There is a limit to the number of
  29.      process ids associated with your login, and to the number the system can
  30.      keep track of.)
  31.  
  32. BBBBUUUUGGGGSSSS
  33.      Not all the processes of a 3- or more-stage pipeline are children of the
  34.      shell, and thus cannot be waited for.
  35.  
  36.      If _n is not an active process id, all your shell's currently active
  37.      background processes are waited for and the return code will be zero.
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.